
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module pychess.System.tsqlite</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="pychess.html"><font color="#ffffff">pychess</font></a>.<a href="pychess.System.html"><font color="#ffffff">System</font></a>.tsqlite</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/thomas/Programmering/python/skak/svn/lib/pychess/System/tsqlite.py">/home/thomas/Programmering/python/skak/svn/lib/pychess/System/tsqlite.py</a></font></td></tr></table>
    <p><tt>This&nbsp;is&nbsp;a&nbsp;threadsafe&nbsp;wrapper&nbsp;sqlite.<br>
It&nbsp;is&nbsp;not&nbsp;classbased,&nbsp;so&nbsp;only&nbsp;one&nbsp;database&nbsp;can&nbsp;be&nbsp;open&nbsp;at&nbsp;a&nbsp;time</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="Queue.html">Queue</a><br>
<a href="os.html">os</a><br>
</td><td width="25%" valign=top><a href="pysqlite2.dbapi2.html">pysqlite2.dbapi2</a><br>
<a href="thread.html">thread</a><br>
</td><td width="25%" valign=top><a href="time.html">time</a><br>
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="threading.html#Thread">threading.Thread</a>(<a href="threading.html#_Verbose">threading._Verbose</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="pychess.System.tsqlite.html#DbWrapper">DbWrapper</a>
</font></dt></dl>
</dd>
</dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="DbWrapper">class <strong>DbWrapper</strong></a>(<a href="threading.html#Thread">threading.Thread</a>)</font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pychess.System.tsqlite.html#DbWrapper">DbWrapper</a></dd>
<dd><a href="threading.html#Thread">threading.Thread</a></dd>
<dd><a href="threading.html#_Verbose">threading._Verbose</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="DbWrapper-__init__"><strong>__init__</strong></a>(self, path, nr)</dt></dl>

<dl><dt><a name="DbWrapper-run"><strong>run</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="threading.html#Thread">threading.Thread</a>:<br>
<dl><dt><a name="DbWrapper-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>

<dl><dt><a name="DbWrapper-getName"><strong>getName</strong></a>(self)</dt></dl>

<dl><dt><a name="DbWrapper-isAlive"><strong>isAlive</strong></a>(self)</dt></dl>

<dl><dt><a name="DbWrapper-isDaemon"><strong>isDaemon</strong></a>(self)</dt></dl>

<dl><dt><a name="DbWrapper-join"><strong>join</strong></a>(self, timeout<font color="#909090">=None</font>)</dt></dl>

<dl><dt><a name="DbWrapper-setDaemon"><strong>setDaemon</strong></a>(self, daemonic)</dt></dl>

<dl><dt><a name="DbWrapper-setName"><strong>setName</strong></a>(self, name)</dt></dl>

<dl><dt><a name="DbWrapper-start"><strong>start</strong></a>(self)</dt></dl>

<hr>
Data and other attributes inherited from <a href="threading.html#_Verbose">threading._Verbose</a>:<br>
<dl><dt><strong>__dict__</strong> = &lt;dictproxy object&gt;<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dl>

<dl><dt><strong>__weakref__</strong> = &lt;attribute '__weakref__' of '_Verbose' objects&gt;<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dl>

</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
    
<tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt><a name="-close"><strong>close</strong></a>()</dt></dl>
 <dl><dt><a name="-connect"><strong>connect</strong></a>(path)</dt></dl>
 <dl><dt><a name="-execSQL"><strong>execSQL</strong></a>(*queries)</dt></dl>
</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
    
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>END_CMD</strong> = 1<br>
<strong>SQL_CMD</strong> = 0<br>
<strong>qthreads</strong> = 0<br>
<strong>sqlqueue</strong> = &lt;Queue.Queue instance&gt;</td></tr></table>
</body></html>